﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using LDCRNewEdit.Services;

namespace LDCRNewEdit.Model
{
    public class SceneMap
    {
        
        private List<SceneBuildLv> _list = new List<SceneBuildLv>();
        private List<SceneGroundLv> _glist = new List<SceneGroundLv>();
        private HashSet<Point> _blockSet = new HashSet<Point>();

        public string Name { get; set; }
        public short MapWidth { get; set; }
        public short MapHeight { get; set; }
        public short XOff { get; set; }
        public short YOff { get; set; }
        public short MaxWidth { get; set; }
        public short MaxHeight { get; set; }
        public string GroundPath { get; set; }  //地面文件路径，最大64个字节

        public List<SceneBuildLv> BuilList { get { return _list; } }
        public HashSet<Point> BlockSet { get { return _blockSet; } }

        //获取地面资源
        public List<SceneGroundLv> GroundList { get {
                return _glist;
            }
        }


    }
}
